using System;
using System.Xml;
using System.Xml.Serialization;
namespace SERP.DAO{
	/********************************BEGIN SalaryDataDetailsEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:09/03/2013 19:09:04</para>
	/// <para>Class Name: SalaryDataDetailsEntity</para>
	/// <para>Description: ClassSalaryDataDetailsEntity store data of table SalaryDataDetails</para>
	///</summary>

	[Serializable]
	public partial class SalaryDataDetailsEntity{


		private bool _InternalChangedIsNullSalaryDataDetailId=true;
		private bool _IsNullSalaryDataDetailId=true;
		private bool _InternalChangedIsNullSalaryFieldId=true;
		private bool _IsNullSalaryFieldId=true;
		private bool _InternalChangedIsNullDateInput=true;
		private bool _IsNullDateInput=true;
		private bool _InternalChangedIsNullNote=true;
		private bool _IsNullNote=true;
		private bool _InternalChangedIsNullSalaryData=true;
		private bool _IsNullSalaryData=true;
		private bool _InternalChangedIsNullUserId=true;
		private bool _IsNullUserId=true;
		private bool _InternalChangedIsNullPersonId=true;
		private bool _IsNullPersonId=true;
		private int _SalaryDataDetailId;
		private int _SalaryFieldId;
		private DateTime _DateInput;
		private string _Note;
		private Decimal _SalaryData;
		private int _UserId;
		private int _PersonId;
		[XmlElement(ElementName = "IsNullSalaryDataDetailId")]
		public bool IsNullSalaryDataDetailId{
			get{return _IsNullSalaryDataDetailId;}
			set{if(!_InternalChangedIsNullSalaryDataDetailId)_IsNullSalaryDataDetailId=value;}
		}
		[XmlElement(ElementName = "IsNullSalaryFieldId")]
		public bool IsNullSalaryFieldId{
			get{return _IsNullSalaryFieldId;}
			set{if(!_InternalChangedIsNullSalaryFieldId)_IsNullSalaryFieldId=value;}
		}
		[XmlElement(ElementName = "IsNullDateInput")]
		public bool IsNullDateInput{
			get{return _IsNullDateInput;}
			set{if(!_InternalChangedIsNullDateInput)_IsNullDateInput=value;}
		}
		[XmlElement(ElementName = "IsNullNote")]
		public bool IsNullNote{
			get{return _IsNullNote;}
			set{if(!_InternalChangedIsNullNote)_IsNullNote=value;}
		}
		[XmlElement(ElementName = "IsNullSalaryData")]
		public bool IsNullSalaryData{
			get{return _IsNullSalaryData;}
			set{if(!_InternalChangedIsNullSalaryData)_IsNullSalaryData=value;}
		}
		[XmlElement(ElementName = "IsNullUserId")]
		public bool IsNullUserId{
			get{return _IsNullUserId;}
			set{if(!_InternalChangedIsNullUserId)_IsNullUserId=value;}
		}
		[XmlElement(ElementName = "IsNullPersonId")]
		public bool IsNullPersonId{
			get{return _IsNullPersonId;}
			set{if(!_InternalChangedIsNullPersonId)_IsNullPersonId=value;}
		}
		[XmlElement(ElementName = "SalaryDataDetailId")]
		public int SalaryDataDetailId{
			get{return _SalaryDataDetailId;}
			set{
				_SalaryDataDetailId=value;
				if(_SalaryDataDetailId!=null){
					_IsNullSalaryDataDetailId=false;
					_InternalChangedIsNullSalaryDataDetailId=true;
				}
			}
		}
		[XmlElement(ElementName = "SalaryFieldId")]
		public int SalaryFieldId{
			get{return _SalaryFieldId;}
			set{
				_SalaryFieldId=value;
				if(_SalaryFieldId!=null){
					_IsNullSalaryFieldId=false;
					_InternalChangedIsNullSalaryFieldId=true;
				}
			}
		}
		[XmlElement(ElementName = "DateInput")]
		public DateTime DateInput{
			get{return _DateInput;}
			set{
				_DateInput=value;
				if(_DateInput!=null){
					_IsNullDateInput=false;
					_InternalChangedIsNullDateInput=true;
				}
			}
		}
		[XmlElement(ElementName = "Note")]
		public string Note{
			get{return _Note;}
			set{
				_Note=value;
				if(_Note!=null){
					_IsNullNote=false;
					_InternalChangedIsNullNote=true;
				}
			}
		}
		[XmlElement(ElementName = "SalaryData")]
		public Decimal SalaryData{
			get{return _SalaryData;}
			set{
				_SalaryData=value;
				if(_SalaryData!=null){
					_IsNullSalaryData=false;
					_InternalChangedIsNullSalaryData=true;
				}
			}
		}
		[XmlElement(ElementName = "UserId")]
		public int UserId{
			get{return _UserId;}
			set{
				_UserId=value;
				if(_UserId!=null){
					_IsNullUserId=false;
					_InternalChangedIsNullUserId=true;
				}
			}
		}
		[XmlElement(ElementName = "PersonId")]
		public int PersonId{
			get{return _PersonId;}
			set{
				_PersonId=value;
				if(_PersonId!=null){
					_IsNullPersonId=false;
					_InternalChangedIsNullPersonId=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END SalaryDataDetailsEntityBase*****************************************/
	/*****************************************************************************************************/
}

